<html>
  <style>
    .play {
      animation: move 1s forwards infinite;
    }

    @keyframes move {
      from {
        margin: 0;
      }
      to {
        margin: 1000px 0 0 1000px;
      }
    }
  </style>
  <body>
    <button class="play">click</button>
  </body>
</html>
